package routes

import (
	"github.com/gin-gonic/gin"
	"jjqzplucky.site/sz-core/internal/controllers"
)

func RegisterAuthRoutes(r *gin.Engine) {
	//鉴权控制器
	auth := controllers.AuthController{}

	a := r.Group("/auth")
	{
		a.POST("/register", auth.Register)
		a.POST("/login", auth.Login)
	}
}
